package com.culture.java.spring.boot.cloud.alibaba.common.base.response.code;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum Code {

    SUCCESS(200, "成功"),
    FAILURE(500, "服务器异常"),
    PARAM_VALID_FAILURE(601, "参数校验异常");

    private Integer code;

    private String message;

}
